/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.srcptit.trainning.luyennv.btvn1;

import java.util.Scanner;

/**
 *
 * @author Nhim
 */
public class Bai12 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        int n = input.nextInt();
        float a[] = new float [n];
        for(int i = 0; i < n; i++) a[i] = input.nextFloat();
        for(int i = 0; i < n - 1; i++){
            for(int j = i + 1; j < n; j++){
                if(a[i] > a[j]){
                    float tg = a[i];
                    a[i] = a[j];
                    a[j] = tg;
                }
            }
        }
        for(int i = 0; i < n; i++) System.out.print(a[i]+" ");          
    }
}
